#ifndef CREDITCARDPROFILE_H
#define CREDITCARDPROFILE_H

#include <QObject>
#include <QStringList>
#include "../../profile.h"

class CreditCardProfile : public Profile
{
    Q_OBJECT
public:
    explicit CreditCardProfile(Profile *parent = 0);
    explicit CreditCardProfile(CreditCardProfile & other, Profile *parent = 0);
    ~CreditCardProfile();

    bool                            operator==(CreditCardProfile & other) const;
    CreditCardProfile&              operator=(CreditCardProfile & other);
    //CreditCardProfile&              operator const CreditCardProfile();

    void                            SaveParamsFromList(QStringList &params);
    QStringList                     &GetParamList();

    void                            set_card_name(QString card_name);
    void                            set_card_number(QString card_number);
    void                            set_cvv(QString cvv);
    void                            set_card_exp_month(QString card_exp_month);
    void                            set_card_exp_year(QString card_card_exp_year);
    void                            set_file_name(QString value);

    QString                         card_name();
    QString                         card_number();
    QString                         cvv();
    QString                         card_exp_month();
    QString                         card_exp_year();
    QString                         file_name();
private:
    QString*                        StringFromParameters();
    QString                         m_card_name;
    QString                         m_card_number;
    QString                         m_card_exp_month;
    QString                         m_card_exp_year;
    QString                         m_cvv;
    //QString                         m_file_name;
    QStringList                     data_list;

signals:

public slots:
};

#endif // CREDITCARDPROFILE_H
